var array = ['a', 'b', 0, 'a', 'b', 'c', true]
function pull (array) {
  let args = [...arguments].slice(1) // 获得这个的参数数组
  for (let i = 0; i < array.length; i++) {
    if (args.includes(array[i])) {
      array.splice(i, 1)
      i--
    }
  }
}
// pull(array, 'a', 0)
console.log(array)